﻿

using System;
using System.Threading.Tasks;
using System.Linq.Expressions;

using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto;
using Oliving.Edge.Model.Models;
using Oliving.Edge.IServices.BASE;
using Oliving.Edge.Model.School;

namespace Oliving.Edge.IServices
{
    /// <summary>
    /// ISchool_ExaminationServices , 
    /// </summary>	
    public interface ISchool_ExaminationServices : IBaseServices<School_Examination>
    {


        /// <summary>
        /// 自定义分页查询
        /// </summary>
        /// <param name="whereExpression">查询条件</param>
        /// <param name="intPageIndex" > 页码</param>
        /// <param name="intPageSize" > 页大小</param>
        /// <param name="strOrderByFileds" > 排序</param>
        /// <returns></returns>
        Task<PageModel<School_ExaminationPageDto>> QueryPageList(
        Expression<Func<School_Examination, bool>> whereExpression,
        int pageIndex = 1,
        int pageSize = 20,
        string sortField = null, 
        string sortOrder = null);



    }
}

